package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ArticleComment;
import cn.wolfcode.trip.base.domain.UserDynamic;
import cn.wolfcode.trip.base.query.UserQueryObject;
import java.util.List;

public interface UserDynamicMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserDynamic record);

    UserDynamic selectByPrimaryKey(Long id);

    List<UserDynamic> selectAll();

    int updateByPrimaryKey(UserDynamic record);
    /**
     * 查询当前用户所关注的人发布的动态 按发布时间降序排列
     */
    List<UserDynamic> queryForCommendById(Long userId);
}